package com.right.entity;

public class Orderdetail {

	private int oid;//详情编号
	private String orderid;//订单编号
	private int count;//菜品个数
	private Foods foods;//菜品
	private double total;//小计
	
	public int getOid() {
		return oid;
	}
	public void setOid(int oid) {
		this.oid = oid;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public Foods getFoods() {
		return foods;
	}
	public void setFoods(Foods foods) {
		this.foods = foods;
	}
	public double getTotal() {
		return total;
	}
	public void setTotal(double total) {
		this.total = total;
	}
	public Orderdetail(int oid, String orderid, int count, Foods foods, double total) {
		super();
		this.oid = oid;
		this.orderid = orderid;
		this.count = count;
		this.foods = foods;
		this.total = total;
	}
	
	public Orderdetail( String orderid, int count, Foods foods, double total) {
		super();
		
		this.orderid = orderid;
		this.count = count;
		this.foods = foods;
		this.total = total;
	}
	public Orderdetail() {
		// TODO Auto-generated constructor stub
	}

}
